find maximum of 3 numbers in java